<?php
namespace api\controllers;

use Yii;
use yii\web\Response;

class VotePlayerController extends BaseController
{
    public $modelClass = 'api\models\VotePlayer';

    public function actions()
    {
        $actions = parent::actions();

        unset(
            $actions['create'], 
            $actions['delete'], 
            $actions['update'] 
        );

        $actions['index']['class'] = 'api\action\voteplayer\IndexAction';

        return $actions;
    }
}
